/**
 * http://usejsdoc.org/
 * class for Person
 * param : name
 * method : sleep、eat
 */
module.exports = function (){
	this.name = "person";
	
	/**定义sleep 方法*/
	this.sleep = function(){
		console.log("sleeping in the night");
	};
	
	/**定义eat 方法*/
	this.eat = function (){
		console.log("eat food");
	};
};